package task.manager;



import junit.framework.Assert;
import junit.framework.TestCase;

public class TaskListTest extends TestCase {
	TaskList taskList1;
	TaskList taskList2;

	

	public void testHasTask(){
		TaskList taskList1 = new TaskList();
		TaskList taskList2 = new TaskList();
		taskList1.addTask(new Task("test",0,0,0,0,0));
		taskList2.addTask(new Task("notTest",0,0,0,0,0));
		Assert.assertEquals(taskList1.hasTask("test"), true);
		Assert.assertEquals(taskList2.hasTask("test"), false);
	}

}
